$tabs-bgcolor: #fff;
$tabs-radius: 3px;

.tabs {margin-bottom: $row-space;}

.tabs-title {
	margin-bottom: $row-space;;
	font-size: 0;
	border-bottom: 1px solid $color-border;

	> li {
		display: inline-block;
		margin-bottom: -1px;
		list-style-type: none;

		> a {
			display: block;
			min-width: 50px;
			padding: 6px 15px;
			text-align: center;
			line-height: 1.53846154;
			font-size: 14px;
			color: lighten($color-font, 20%);
			background: $color-thead;
			border: 1px solid $color-border;
			border-left-width: 0;
			user-select: none;
			outline: none;
			text-decoration: none;

			&:hover {color: $color-highlight;}
		}

		&:first-child > a {
			border-left-width: 1px;
			border-top-left-radius: $tabs-radius;
		}

		&:last-child > a {border-top-right-radius: $tabs-radius;}

		&.active > a {
			color: $color-highlight;
			background: $tabs-bgcolor;
			border-bottom-color: transparent;
			cursor: default;
			pointer-events: none;
		}

	}
}

.tab-pane {
	display: none;

	&.active {display: block;}
}
